Codexonics\PrimeMoverFramework\classes\PrimeMoverSystemFunctions D

Total Complexity 711
Dependencies 11
Dependents 42
Total lines 4,064
Lines of code 2,346
Logical lines of code 1,515
Comment lines 1,167
Methods 161
Properties 1

Methods 161

Method Rating Maintainability Complexity Lines of code
primeMoverValidateFootprintData()
D
32 37 96
printFriendlyDiffMessages()
D
29 30 122
addToPrimeMoverZipPackage()
C
33 29 94
generateReplaceableForUploadInfoAdjustment()
A
40 14 68
delete()
A
46 15 34
recurseCopy()
A
42 14 48
isMultisiteMainSite()
A
52 13 25
cleanDbTablesForExporting()
A
46 12 37
unzipFileChunked()
A
45 11 40
themeDifference()
A
41 9 64
readfileChunked()
A
49 10 31
doScreenOptionSettings()
A
51 10 28
primeMoverNonceSalt()
A
54 10 23
computeSchemeReplaceables()
A
49 9 31
generateReplaceableForSiteSchemeAdjustment()
A
48 8 34
getBytes()
A
55 9 18
pluginsDifference()
A
50 8 29
maybeCreateFoldersInMu()
A
52 8 28
getCreateExportUrl()
A
53 8 22
dropTable()
A
57 8 18
generateImportReplaceables()
A
49 7 32
parsedBHostForPDO()
S
52 7 27
realFileSize()
S
51 7 27
primeMoverGetBlogsDirPath()
S
53 7 23
hashEntity()
S
53 7 21
fileIsInsideGivenDirectory()
S
56 7 19
removeSchemeFromUrl()
S
58 7 15
getLibZipversion()
S
58 7 14
blogIsUsable()
S
61 7 13
maybeForceDeleteOptionCaches()
S
55 6 20
isPrimeMoverPage()
S
57 6 19
getSliceSize()
S
56 6 19
getActivatedPlugins()
S
56 6 19
getPluginFullPath()
S
57 6 18
readPrimeMoverDirectory()
S
56 6 17
getCorrectFolderNameFromZip()
S
56 6 16
isPrimeMoverDownloadZipURLFormat()
S
58 6 15
activatePrimeMoverPluginOnly()
S
54 5 23
enableMaintenanceDuringImport()
S
55 5 20
primeMoverGetBlogsDirUrl()
S
56 5 20
isZipByMime()
S
55 5 18
maybeLoadAssetsOnDashboard()
S
57 5 18
logCliReProcessingArray()
S
57 5 18
disableMaintenanceDuringImport()
S
57 5 17
isMigrationToolsSitesPage()
S
65 6 9
isZipPackageHasEntityEncrypted()
S
59 5 14
isRefererBackupMenu()
S
60 5 14
primeMoverDoDelete()
S
60 5 14
removeTmpImportFilesDir()
S
62 5 12
getDbPrefixOfSite()
S
59 4 16
getUserMetaTableName()
S
59 4 16
isReallyZip()
S
59 4 15
maybeLoadMenuAssets()
S
66 5 9
maybeUseStoreMode()
S
65 5 9
addUpdatedPluginHeadersToCache()
S
58 4 15
getBackupMenuUrl()
S
63 5 10
isFileResideInExportDir()
S
60 4 15
createSiteExportDirectory()
S
62 4 13
checkIfDirectoryIsEmpty()
S
62 4 12
getExportPathOfThisSubsite()
S
62 4 12
getThemeFullPath()
S
62 4 12
addUploadinfoFootprintKey()
S
63 4 12
isReallyTar()
S
62 4 11
updateSiteOption()
S
58 3 16
deleteSiteOption()
S
59 3 16
getPublicSiteUrl()
S
67 4 8
fOpen()
S
64 4 10
initializeFs()
S
66 4 9
validateIfFootprintHasUploadInfo()
S
65 4 9
generalizeExportTypeBasedOnGiven()
S
64 4 10
logPeakMemoryUsage()
S
66 4 7
doLogRecurseCopyRestart()
S
64 4 9
createFriendlyName()
S
59 3 13
getRefreshPackageUrl()
S
61 3 12
isMaintenanceModeEnabled()
S
62 3 12
updateBlogOption()
S
62 3 12
addNewElement()
S
62 3 12
getPackageCreationDateTime()
S
62 3 12
fileExists()
S
64 3 11
hasZipExtension()
S
63 3 11
hasTarExtension()
S
63 3 11
maybeLoadAssets()
S
62 3 11
getTablesforReplacement()
S
55 2 18
maybeTestSlowCopy()
S
66 3 9
filePutContentsAppend()
S
70 3 6
removePrefix()
S
65 3 9
validateIfFootprintHasScheme()
S
66 3 9
isReallyValidFormat()
S
67 3 9
isExtractingPackageAsTar()
S
65 3 10
addSchemeFootprintKey()
S
66 3 9
addPluginManager()
S
64 3 9
addPrimeMoverNonceFilters()
S
67 3 7
maybeResetOpCache()
S
68 3 8
temporarilyIncreaseMemoryLimits()
S
65 3 8
getAbsPath()
S
66 3 8
nonCachedFileExists()
S
66 3 9
removePrimeMoverNonceFilters()
S
67 3 7
isDir()
S
65 3 10
fileGetContents()
S
71 3 6
isConfigFileWritable()
S
65 3 10
systemHooks()
S
58 2 14
getDetailedDifferencesBetweenFootprints()
S
62 2 11
getSiteOption()
S
63 2 11
isUsingChildTheme()
S
63 2 11
activatePlugin()
S
63 2 11
getLanguageFolder()
S
69 2 7
unLink()
S
72 2 6
isResource()
S
72 2 6
fileSize64()
S
71 2 6
getWpContentInfo()
S
64 2 9
iniGet()
S
72 2 6
isValidJson()
S
65 2 9
fClose()
S
71 2 6
isHeadRequest()
S
70 2 6
primeMoverCheckIfZipEnabled()
S
69 2 7
updateOption()
S
68 2 8
removePluginManager()
S
65 2 9
getBlogOption()
S
66 2 9
hashString()
S
67 2 8
hashFile()
S
71 2 6
getFilesToRestore()
S
66 2 8
flush()
S
73 2 6
isPluginActive()
S
65 2 10
deactivatePlugins()
S
67 2 8
initializeSiteExportDirectory()
S
70 2 7
isWpFileSystemUsable()
S
71 2 6
compliedMinimumRequirement()
S
68 2 7
isValidVersionNumber()
S
69 2 7
endsWith()
S
69 2 6
getUrlSchemeOfThisSite()
S
70 2 7
primeMoverCheckAdminReferer()
S
70 1 6
primeMoverVerifyNonce()
S
70 1 6
primeMoverCreateNonce()
S
71 1 6
primeMoverNonceField()
S
72 1 5
primeMoverNonceUrl()
S
70 1 6
primeMoverNonceLife()
S
82 1 3
__construct()
S
81 1 3
isSettingsPage()
S
80 1 3
sha256File()
S
79 1 3
humanFileSize()
S
63 1 9
getSystemAuthorization()
S
81 1 3
getSystemInitialization()
S
82 1 3
getPostMaxSizeCorePhpValue()
S
76 1 4
getPostMaxSizeInPhpini()
S
71 1 6
getMd5File()
S
80 1 3
getUploadMaxFilesizeCorePhpValue()
S
76 1 4
maybeUploadParametersMisconfigured()
S
73 1 5
getUploadmaxFilesizeInPhpini()
S
71 1 6
getFileSize()
S
80 1 3
getMultisiteMainSiteTableQuery()
S
78 1 3
switchToBlog()
S
81 1 3
restoreCurrentBlog()
S
82 1 3
getOption()
S
71 1 6
wpDie()
S
66 1 9
getUpgradeUrl()
S
81 1 3
getZipArchiveInstance()
S
80 1 3
getPeakMemoryUsage()
S
80 1 3
doMemoryLogs()
S
70 1 6
getSiteTitleGivenBlogId()
S
71 1 6
isShaString()
S
79 1 3
isLargeStreamFile()
S
80 1 3